const Sequelize = require('sequelize');
const db = {};

const sequelize = new Sequelize('nodesql_login',"root","",{
    hots:"localhost",
    dialect:'mysql',
    pool:{
        max:5,//最大连接数
        min:0,//最小
        acquire:30000,
        idle:10000,
    },
});
db.sequelize = sequelize;
db.Sequelize = Sequelize;
module.exports = db;